package org.hu.vhr.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.hu.vhr.model.Interview;

import java.util.Date;
import java.util.List;

@Mapper
public interface InterviewMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Interview record);

    int insertSelective(Interview record);

    Interview selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Interview record);

    int updateByPrimaryKey(Interview record);

    List<Interview> getAllInterview();

    List<Interview> getAllNewEmps();

    Interview selectByEmpName(String empName);

    Integer selectByInterviewer(String interviewer, Date startTime, Date endTime);
}